﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.TeamFoundation.VersionControl.Client;

namespace Osiris.Tools.CheckinPolicies
{
    [Serializable]
    public abstract class OsirisPolicyBase : PolicyBase
    {
        public override bool Edit(IPolicyEditArgs policyEditArgs)
        {
            return true;
        }

        public override void DisplayHelp(PolicyFailure failure)
        {
            MessageBox.Show(Description);
        }

        public override void Activate(PolicyFailure failure)
        {
            DisplayHelp(failure);
        }

        public override string InstallationInstructions
        {
            get
            {
                return "Install Osiris CheckinPolicies.msi.";
            }
        }
    }
}
